package com.gszyxy.mallfour.consumer.mapper;

import com.gszyxy.mallfour.consumer.params.ConsumerRequestParams;
import com.gszyxy.mallfour.consumer.pojo.Consumer;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConsumerMapper {
    //注册
    int register(ConsumerRequestParams consumerRequestParams);
    //登录
    Consumer login(ConsumerRequestParams consumerRequestParams);
    //根据账号查找是否被注册
    Consumer findByAccount(String account);

}
